package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.entity.NursingProject;
import com.zzyl.vo.NursingProjectVo;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface NursingProjectMapper {

    public Page<NursingProjectVo> getByPage(String name, Integer pageNum, Integer pageSize, Integer status);

    void insert(NursingProject nursingProject);


    NursingProjectVo getByid(Long id);

    void update(NursingProject nursingProject);

    void delete(Long id);

    void changeStatus(Long id, Integer status);
}
